<!DOCTYPE html>
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

	<head>
		<c:set var="title" value="评论中心" scope="request" />
		<jsp:include page="/head.jsp" />
		<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js"></script>
		<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.all.min.js"></script>
		<script type="text/javascript" charset="utf-8" src="../ueditor/lang/zh-cn/zh-cn.js"></script>
	</head>

	<body>
		<c:import url="/header.do?full=1" />
		<div class="col-md-2">
			<c:import url="/left-menu.do" />
		</div>
		<div class="col-md-10 comment">
			<div class="container">
				<ol class="breadcrumb">
					<li>
						<a href="user.html">评论中心</a>
					</li>
					<li class="active sta">新闻评论管理</li>

				</ol>
				<div class="panel panel-default">
					<!-- Default panel contents -->
					<div class="panel-heading">
						<i class="glyphicon glyphicon-th-list"></i> 新闻评论管理
					</div>

					<div class="panel-body">
						<form class="form-inline _searchForm">
							<div class="form-group">
								<input name="userName" type="text" class="form-control" placeholder="用户名" value="" />
							</div>
							<div class="form-group">
								<input name="title" type="text" class="form-control" placeholder="新闻标题" value="" />
							</div>
							<button type="submit" class="btn btn-primary">
								<i class="glyphicon glyphicon-search"></i>
							</button>
						</form>
					</div>
					<table class="table table-bordered table-hover">
						<thead>
							<tr>
								<th style="text-align: center; width: 3em;" class="text-center">#</th>
								<th style="width: 25em;">被评论新闻的标题</th>
								<th style="text-align: center; width: 20em;" class="text-center">评论内容</th>
								<th style="text-align: center; width: 10em;" class="text-center">评论者</th>
								<th style="text-align: center; width: 10em;" class="text-center">评论时间</th>
								<th style="text-align: center; width: 12em;" class="text-center">评论状态</th>
							</tr>
						</thead>
						<tbody id="datagrid">
							<tr>
								<td style="text-align: center; width: 3em;" class="text-center _rowNumber">1</td>
								<td style="width: 25em;"><a class="_commentNewsTitle">XXXXXXXXXX</a></td>
								<td style="text-align: center; width: 20em;" class="text-center _commentContent">
									这是一篇好文章
								</td>
								<td style="text-align: center; width: 10em;" class="text-center _commentRealName">苦中带甜</td>
								<td style="text-align: center; width: 20em;" class="text-center _commentTime">2019-12-27 10：20</td>
								<td style="text-align: center; width: 12em;" class="text-center">
									<select class="form-control _commentHandle">
										<option value="0" selected="selected">未删除</option>
										<option value="1">已删除</option>
									</select>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="text-center">
					<ul class="pagination">
						<li data-page="1">
							<a href="javascript:void(0);" aria-label="Previous">
								<spanaria-hidden="true">«</span>
							</a>
						</li>
						<li class="javascript:void(0);">
							<a href="javascript:void(0);">1</a>
						</li>
						<li>
							<a href="javascript:void(0);" aria-label="Next"><span aria-hidden="true">»</span></a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<jsp:include page="/footer.jsp" />
	</body>
<script type="text/javascript" src="comments/comment-manage.js" ></script>
</html>